package com.zmn.oms.common.dio.normal.apply;

import com.zmn.oms.common.dto.OmsBaseOperator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;

/**
 * @Author: wyc
 * @Description:
 * @Date: 2022/5/27 14:41
 * @Version: 1.0
 */
@Data
@Builder
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("重建订单入参")
public class RebuildOrderDIO extends OmsBaseOperator {


    @ApiModelProperty(value = "源订单id", required = true)
    @NotNull(message = "源订单id不能为空")
    private Long originalOrderId;

    @ApiModelProperty(value = "源工单id", required = true)
    @NotNull(message = "源工单id不能为空")
    private Long originalWorkId;

    @ApiModelProperty(value = "源工程师id", required = true)
    private Integer originalMasterId;

    @ApiModelProperty(value = "源工程师名称", required = true)
    private String originalMasterName;

    @ApiModelProperty(value = "源工程师电话", required = true)
    private String originalMasterPhone;

    @ApiModelProperty(value = "取消申请id", required = true)
    @NotNull(message = "取消申请id不能为空")
    private Long cancelApplyId;
}
